package com.nexus.core.exception;

/**
 * 系统异常
 *
 * @Date 2025/7/23 14:21
 * @Author luzhengning
 **/
public class SystemException extends BaseException {

    /**
     * 默认错误码
     *
     * @Date 2025/7/30 16:57
     * @Author luzhengning
     **/
    private static final int DEFAULT_ERROR_CODE = 500;

    public SystemException() {
        super(DEFAULT_ERROR_CODE);
    }

    public SystemException(String message, Object... data) {
        super(DEFAULT_ERROR_CODE, message, data);
    }
}
